package com.jc.order.constant;

public class ValidateErrorConst {



    // 错误消息常量
    public static final String INVALID_STR = "%s不支持代码：%s;";
    public static final String ERROR_INSURED_EMPTY = "被保险人不能为空;";
    public static final String ERROR_INSURED_LENGTH = "被保险人名称超长度(255);";
    public static final String ERROR_INSURED_ID_EMPTY = "被保险人证件号不能为空，请填写身份证号或护照号;";
    public static final String ERROR_INSURED_TYPE_EMPTY = "被保险人类型不能为空";
    public static final String ERROR_INSURED_ADDRESS_LENGTH = "被保险人地址超长度(200);";
    public static final String ERROR_TRANSPORT_TYPE_EMPTY = "运输方式不能为空;";
    public static final String ERROR_TRANSPORT_TYPE_INVALID = "运输方式目前仅支持海运、空运、铁路、公路、全程快递、多式联运，请修改;";
    public static final String ERROR_AMOUNT_WAY_EMPTY = "保费计算方式不能为空;";
    public static final String ERROR_AMOUNT_WAY_INVALID = "额确定方式仅支持货值加成、货值运费两种，请修改;";
    public static final String ERROR_RATIO_INVALID = "加成比例不能为空，必须大于0;";
    public static final String ERROR_CARGO_VALUE_EMPTY = "货物价值不能为空;";
    public static final String ERROR_CURRENCY_EMPTY = "货值币种不能为空;";
    public static final String ERROR_CURRENCY_INVALID = "货值币种不支持;";
    public static final String ERROR_TRACKING_NO_LENGTH = "原单号超出长度范围(60);";
    public static final String ERROR_TRANSPORT_NAME_EMPTY = "运输工具及航次不能为空;";
    public static final String ERROR_TRANSPORT_NAME_LENGTH = "运输工具及航次超出长度范围(40);";
    public static final String ERROR_WAYBILL_EMPTY = "提单号或运单号不能为空;";
    public static final String ERROR_WAYBILL_LENGTH = "提单号或运单号超出长度范围(20);";
    public static final String ERROR_WEIGHT_INVALID = "公斤数必须大于0;";
    public static final String ERROR_WEIGHT_MIN = "公斤数必须大于5;";
    public static final String ERROR_PACKING_EMPTY = "包装类型不能为空;";
    public static final String ERROR_PACKING_INVALID = "包装类型不支持;";
    public static final String ERROR_PACKAGE_COUNT = "包装数量不能为空且必须是大于等于1的整数;";
    public static final String ERROR_CARGO_DESC_EMPTY = "货物描述不能为空;";
    public static final String ERROR_CARGO_DESC_LENGTH = "货物描述超出长度范围(500);";
    public static final String ERROR_FROM_COUNTRY_EMPTY = "起运国代码不能为空;";
    public static final String ERROR_TO_COUNTRY_EMPTY = "目的国代码不能为空;";
    public static final String ERROR_COUNTRY_MISMATCH = "%s代码不匹配;";
    public static final String ERROR_COUNTRY_FORBIDDEN = "%s，禁止承保;";
    public static final String ERROR_COUNTRY_INNOVATION = "%s，不适用创新险;";
    public static final String ERROR_COUNTRY_WAR = "%s，不适用战争保障;";
    public static final String ERROR_COUNTRY_STRIKE = "%s，不适用罢工保障;";
    public static final String ERROR_COUNTRY_TRADITIONAL = "%s，不适用传统险;";




    public static final String ERROR_DATA_CONVERT = "数据转换失败";
    public static final String ERROR_ORDER_NUMBER_EMPTY = "原单号不能为空;";
    public static final String ERROR_DISPATCH_TYPE_MISMATCH = "派送方式与系统匹配错误，请修改;";
    public static final String ERROR_TRUCK_DISPATCH_INVALID = "卡车派不需要填写快递公司和快递单号;";
    public static final String ERROR_EXPRESS_INFO_EMPTY = "派送方式快递派快递公司/快递单号不能为空;";
    public static final String ERROR_EXPRESS_NO_LENGTH = "快递单号超出长度范围(350);";
    public static final String ERROR_DISPATCH_TYPE_EMPTY = "派送方式不能为空;";
    public static final String ERROR_DEST_TYPE_EMPTY = "目的地类型不能为空;";
    public static final String ERROR_DEST_TYPE_MISMATCH = "目的地类型与系统匹配错误，请修改;";
    public static final String ERROR_SHELF_GUARANTEE_EMPTY = "上架保障不能为空;";
    public static final String ERROR_SHELF_GUARANTEE_MISMATCH = "上架保障匹配错误;";

    public static final String ERROR_SHELF_GUARANTEE_3 = "不能保上架;";
    public static final String ERROR_EXPRESS_COMPANY_MISMATCH = "快递公司匹配错误;";
    public static final String ERROR_WAREHOUSING_NUMBER_EMPTY = "入仓编号不能为空;";
    public static final String ERROR_WAREHOUSING_NUMBER_LENGTH = "入仓编号超出长度范围(350);";
    public static final String ERROR_CARGO_CATEGORY_EMPTY = "货物类别不能为空;";
    public static final String ERROR_CARGO_CATEGORY_MISMATCH = "货物类别匹配错误;";
    public static final String ERROR_FREIGHT_CURRENCY_EMPTY = "运费币种不能为空;";
    public static final String ERROR_FREIGHT_CURRENCY_INVALID = "运费币种不支持;";
    public static final String ERROR_FREIGHT_AMOUNT_INVALID = "运费必须大于0.01;";
    public static final String ERROR_START_TIME_EMPTY = "起运日期不能为空;";

    public static final String ERROR_FROM_ADDRESS_EMPTY = "起运地不能为空;";
    public static final String ERROR_TO_ADDRESS_EMPTY = "目的地不能为空;";
}
